Skip to content

Conversation

alexcrichton
Copy link
Member

This leaves the default lint modes at warn, but now the unused variable and dead assignment warnings are configurable on a per-item basis. As described in #3266, this just involved carrying around a couple ids to pass over to span_lint. I personally would prefer to keep the _ prefix as well.

This closes #3266.

bors added a commit that referenced this pull request Apr 10, 2013
This leaves the default lint modes at `warn`, but now the unused variable and dead assignment warnings are configurable on a per-item basis. As described in #3266, this just involved carrying around a couple ids to pass over to `span_lint`. I personally would prefer to keep the `_` prefix as well.

This closes #3266.
@bors bors closed this Apr 10, 2013
@bors bors merged commit 3e67085 into rust-lang:incoming Apr 10, 2013
@alexcrichton alexcrichton deleted the issue-3266 branch April 10, 2013 05:01
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jul 17, 2020
Backport remerge rust-1.44.1

r? @ghost

changelog: none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants